<?php

class m130722_140347_InsertDataPostCategoryTable extends CDbMigration
{
	public function up()
	{
		$this->execute("
			INSERT INTO `post_category` VALUES ('1', 'About', '1');
			INSERT INTO `post_category` VALUES ('2', 'PostHome', '1');
			INSERT INTO `post_category` VALUES ('3', 'AboutUs', '1');
			INSERT INTO `post_category` VALUES ('4', 'OurAwards', '1');
			INSERT INTO `post_category` VALUES ('5', 'Careers', '1');
		");
	}

	public function down()
	{
		echo "m130722_140347_InsertDataPostCategoryTable does not support migration down.\n";
		return false;
	}

	/*
	// Use safeUp/safeDown to do migration with transaction
	public function safeUp()
	{
	}

	public function safeDown()
	{
	}
	*/
}